package com.demo.entity;

import java.util.Date;

public class Log {
    private Integer id;
    /***
     * 日志类型：PC\MANAGER\WX
     */
    private String type;
    /**
     * 日志内容
     */
    private String content;
    /**
     * 创建时间
     */
    private Date createAt;
    /**
     * 更新
     */
    private Date updateAt;
    /**
     * 相关用户
     */
    private String userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }
}